package com.gator.spring.framework.beans.config;

/**
 * @Author PABLO
 * @Date 2022/5/7 13:13
 * @Desc bean初始化增强器
 */
public class PABLO_BeanPostProcessor {

    public Object postProcessBeforeInitialization(Object bean, String beanName) throws Exception {
        System.out.println( "-----"+beanName+"初始化对象之前");
        return bean;
    }

    public Object postProcessAfterInitialization(Object bean, String beanName) throws Exception {
        System.out.println( "-----"+beanName+"初始化对象之后");
        return bean;
    }
}
